package com.example.gladiadores;

import java.util.ArrayList;
import java.util.HashMap;

import JavaCode.Opciones;
import android.app.Activity;
import android.app.ListActivity;
import android.os.Bundle;
import android.view.View;
import android.view.WindowManager;
import android.widget.AdapterView;
import android.widget.AdapterView.OnItemClickListener;
import android.widget.ArrayAdapter;
import android.widget.ListView;
import android.widget.SimpleAdapter;

public class ActivityEntrenadorDisponible extends ListActivity{
	
	
	
	@Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        String[] nivel = {"Nivel/Valor: ","Nivel/Valor: ","Nivel/Valor: ","Nivel/Valor: ","Nivel/Valor: ","Nivel/Valor: ","Nivel/Valor: ","Nivel/Valor: ","Nivel/Valor: ","Nivel/Valor: ","Nivel/Valor: ","Nivel/Valor: ","Nivel/Valor: "};
        
        WindowManager.LayoutParams layoutParams = getWindow().getAttributes();
		layoutParams.screenBrightness = Opciones.getInstance().getValorBarraLuz();
		getWindow().setAttributes(layoutParams);
        
		ArrayAdapter<String> adapter = new ArrayAdapter<String>(this,R.layout.activityentrenadordisponible,R.id.valorEntrenador,nivel);

        setListAdapter(adapter);
       
    }
 
}